package com.xbb.service;

import com.xbb.entity.Role;
import com.xbb.entity.Userroles;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr xie
 * @since 2020-05-19
 */
public interface IUserrolesService extends IService<Userroles> {

    public List<Role> getRolesByUserId(Integer uid);

    public boolean delRolesByUserId(Integer uid, String rids);
}
